package com.itheima.service;

import com.itheima.pojo.Member;

import java.util.List;
import java.util.Map;

/**
 * @author 黑马程序员
 * @Company http://www.ithiema.com
 * @Version 1.0
 */
public interface MemberService {
    Member findByTelephone(String telephone);

    void add(Member member);

    /**
     * update by 黄子兴
     * @param monthRange
     * @return
     */
    Map<String,Object> getMemberReport(Map<String, String> monthRange);

    /* @create by 赵晴 * @date 2020-07-07 21:04:26 */
    //根据性别获取会员信息
    List<Map> getMemberReportDivBySex();

    //根据年龄段获取会员信息
    List<Map> getMemberReportDivByAge();
}
